package com.nmsl.statistic.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nmsl.common.annotation.Excel;
import com.nmsl.common.core.domain.BaseEntity;

/**
 * 零售附加项目对象 retail_att
 *
 * @author ruoyi
 * @date 2025-02-17
 */
public class RetailAtt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药品附加项目id */
    @Excel(name = "药品附加项目id")
    private String retailAttId;

    /** 附加项目id */
    @Excel(name = "附加项目id")
    private Long attId;

    /** 零售单号 */
    @Excel(name = "零售单号")
    private Long retailOrderId;

    /** 项目价格 */
    @Excel(name = "项目价格")
    private BigDecimal attPrice;
    /** 项目价格 */
    @Excel(name = "项目价格")
    private BigDecimal attNum;

    public BigDecimal getAttNum() {
        return attNum;
    }

    public void setAttNum(BigDecimal attNum) {
        this.attNum = attNum;
    }

    public void setRetailAttId(String retailAttId)
    {
        this.retailAttId = retailAttId;
    }

    public String getRetailAttId()
    {
        return retailAttId;
    }
    public void setAttId(Long attId)
    {
        this.attId = attId;
    }

    public Long getAttId()
    {
        return attId;
    }
    public void setRetailOrderId(Long retailOrderId)
    {
        this.retailOrderId = retailOrderId;
    }

    public Long getRetailOrderId()
    {
        return retailOrderId;
    }
    public void setAttPrice(BigDecimal attPrice)
    {
        this.attPrice = attPrice;
    }

    public BigDecimal getAttPrice()
    {
        return attPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("retailAttId", getRetailAttId())
                .append("attId", getAttId())
                .append("retailOrderId", getRetailOrderId())
                .append("attPrice", getAttPrice())
                .append("createTime", getCreateTime())
                .toString();
    }
}
